package com.example.analysis.mapper;

import com.example.analysis.entity.Major;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MajorDao {
    int deleteByPrimaryKey(String majorId);

    int insert(Major record);

    int insertSelective(Major record);

    Major selectByPrimaryKey(String majorId);

    Major selectByName(String majorId);

    int updateByPrimaryKeySelective(Major record);

    int updateByPrimaryKey(Major record);
}
